package com.weilive.core.protocol.json;

public class JsonRequestLocal {
	private static final ThreadLocal<JsonRequest> request = new ThreadLocal<JsonRequest>();

	public static void setRequest(JsonRequest req) {
		request.set(req);
	}

	public static JsonRequest getRequest() {
		return request.get();
	}

	public static void clear() {
		request.set(null);
	}
}
